package cn.tedu.tmall.passport.pojo.parm;
import io.swagger.annotations.ApiModelProperty;
import lombok.AccessLevel;
import lombok.Data;
import lombok.experimental.FieldDefaults;

import javax.validation.constraints.NotBlank;
import java.io.Serializable;

@Data
@FieldDefaults(level = AccessLevel.PRIVATE)
public class UserLoginParam implements Serializable {
    @ApiModelProperty(name = "用户名",required = true,example = "root")
    @NotBlank
    String username;

    @ApiModelProperty(name = "密码",required = true)
    String password;
}
